package Rect;

public class Rect {
    private int width;
    private int height;

    public Rect(int width, int height) {
        this.width = width;
        this.height = height;
    }

    public Rect() {
        this.width = 10;
        this.height = 10;
    }
    public int area(){
        return width*height;
    }
    public int perimeter(){
        return (width+height)*2;
    }
}
